package com.zhijian.medical.entity.vo.request;

import com.zhijian.medical.entity.po.PersonTrainTest;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author HCG
 * @version 1.0
 * @date 2023-07-18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Api(tags = "分子病理室人员岗前培训与考核表新增or修改类")
public class PersonTrainTestSaveOrUpdateVo extends PersonTrainTest implements Serializable {

    private static final long serialVersionUID = -4352212196535495611L;

    /**
     * 项目检测内容数组
     */
    @ApiModelProperty("项目检测内容数组")
    private List<ContentVo> contentList;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    @Api(tags = "分子病理室人员岗前培训与考核表-内容新增or修改类")
    public static class ContentVo implements Serializable {

        private static final long serialVersionUID = 8545621351472100923L;

        /**
         * 具体授权的项目检测名称
         */
        @ApiModelProperty("具体授权的项目检测名称")
        private String projectName;

        /**
         * 考核内容
         */
        @ApiModelProperty("考核内容")
        private List<String> testContent;

        /**
         * 考核指标
         */
        @ApiModelProperty("考核指标")
        private List<String> testIndex;

        /**
         * 各项得分
         */
        @ApiModelProperty("各项得分")
        private List<String> everyScore;

        /**
         * 总得分
         */
        @ApiModelProperty("总得分")
        private String totalScore;

        /**
         * 是否合格
         */
        @ApiModelProperty("是否合格")
        private String weatherQualified;
    }
}
